package com.surfacing.rcp.model.codec;

import javax.xml.stream.XMLEventReader;
import javax.xml.stream.XMLStreamException;

import com.surfacing.rcp.model.common.AbstractMessage;

/**
 * Interface for message decoders
 * 
 * @author Michael
 */
public interface MessageDecoder {
	public AbstractMessage doDecode(XMLEventReader reader)
			throws XMLStreamException;
}
